package edu.uts.reekie.designer.figures;

import org.eclipse.draw2d.FlowLayout;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.geometry.Dimension;

/*
 * Fixed Size Flow Layout
 * 
 * is a flow layout, but doesn't calculate or specify a preferred size. this is up to the owner of the container figure to 
 * set an explicit size
 */
public class FixedSizeFlowLayout extends FlowLayout {
	protected Dimension calculatePreferredSize(IFigure container, int wHint,
			int hHint) {
		// there is no preferred size with this stack layout - the parent can decide on it's size
		return null;
	}
	
	
}
